from twisted.internet import reactor
from pcnetwork import PClientNet

class PClient:
    network = None
    def setupNetwork(self, addr="127.0.0.1", port=4886):
            self.network = PClientNet()
            reactor.connectTCP(addr, port, self.network)
            
client = PClient()